<?php
require_once dirname(__FILE__) . '/../../../incls/php/config.php';
require_once dirname(__FILE__) . '/../../../incls/php/miscutils.class.php';
require_once dirname(__FILE__) . '/../../../incls/php/dbutils.class.php';

$url = MiscUtils::getParam('url', NULL);
$path = basename(dirname(__FILE__));
$sys_script = $system->script;

?>
<html>
<head>
<title><?php echo $system->title; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
* {
  font-family: Trebuchet MS;
  font-size: 12px;
  outline: 0;
  margin: 0;
}
body {
  background-image: url(exts/uis/<?php echo $path; ?>/assets/imgs/bg.jpg);
  background-repeat: repeat;
  width: 100%;
}
<?php echo $page->css; ?>


</style>
</head>
<body>
<div style="text-align: center;">
  <table style="width: 950px; margin: 0 auto;">
    <tr>
      <td style="width: 140px;"><img src="exts/uis/<?php echo $path; ?>/assets/imgs/logo.png" style="cursor: pointer;" onclick="location.href='http://<?php echo URL; ?>';"></img></td>
      <td style="padding: 0 50px 10px 0; vertical-align: bottom; text-align: right; background:url(exts/uis/<?php echo $path; ?>/assets/imgs/sup.png) no-repeat;background-position: left bottom;"><img src="exts/uis/<?php echo $path; ?>/assets/imgs/up.png" style="cursor: pointer;" onclick="location.href='http://<?php echo URL; ?>match.php?t=<?php echo MiscUtils::getParam('t', ''); ?>';"></img></td>
    </tr>
  </table>

  
  <table style="margin: 0 auto;">
    <tr>
      <td style="vertical-align: bottom;padding-top: 300px;"><img style="margin-right: -180px; z-index: 999;" src="exts/uis/<?php echo $path; ?>/assets/imgs/2.png" ></img></td>
      <td>
        <div style="width: 750px; margin: 0 auto; text-align: left;">
          <?php echo $page->html; ?>
          <script type="text/javascript">
          <?php echo $page->js; ?>
          </script>
        </div>
      </td>
      <td style="vertical-align: top;"><img style="margin-left: -20px;" src="exts/uis/<?php echo $path; ?>/assets/imgs/1.png" ></img></td>
    </tr>
  </table>
</div>
</body>
</html>
